package com.roy.service.impl;

import com.roy.domain.entity.RoyEmployee;
import com.roy.mapper.RoyEmployeeMapper;
import com.roy.service.IRoyEmployeeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.validation.Validator;
import java.util.List;

/**
 * 用户 业务层处理
 *
 * @author ruoyi
 */
@Service
public class RoyEmployeeServiceImpl implements IRoyEmployeeService {
    private static final Logger log = LoggerFactory.getLogger(RoyEmployeeServiceImpl.class);

    @Autowired
    private RoyEmployeeMapper employeeMapper;

    @Autowired
    protected Validator validator;

    @Override
    public List<RoyEmployee> selectEmployeeList(RoyEmployee employee) {
        return employeeMapper.selectEmployeeList(employee);
    }
}
